using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("ScrollBarThumb")]
	public class ScrollBarThumb : PegUIElement
	{
		public bool m_isDragging => method_2<bool>("m_isDragging");

		public ScrollBarThumb(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ScrollBarThumb(IntPtr address)
			: this(address, "ScrollBarThumb")
		{
		}

		public void Update()
		{
			method_8("Update");
		}

		public bool IsDragging()
		{
			return method_11<bool>("IsDragging", Array.Empty<object>());
		}

		public void StartDragging()
		{
			method_8("StartDragging");
		}

		public void StopDragging()
		{
			method_8("StopDragging");
		}

		public new void OnHold()
		{
			method_8("OnHold");
		}
	}
}
